package cn.edu.tyu.finance.thingstype.service;

import cn.edu.tyu.finance.thingstype.dao.UserDaoImpl;
import cn.edu.tyu.finance.thingstype.domain.Users;

import java.sql.SQLException;

public class UsersServiceImpl {
    public int addUser(Users users) throws SQLException {
        UserDaoImpl userDaoImpl = new UserDaoImpl();
        int res = userDaoImpl.addUser(users);
        return res;
    }
}
